import Vue from 'vue'
import Vuex from 'vuex'
import { CHANGE_NAME } from "./mutation-types"
Vue.use(Vuex)

export default new Vuex.Store({
  state: {
    name: "韩梅梅",
  },
  mutations: {
    [CHANGE_NAME](state,name) {
        state.name = name
    }
  },
  actions: {

  },
})
